<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="../css/style.css" rel="stylesheet" type="text/css">

		<script src="../script/common.js">

</script>
		<script type="text/javascript">
function info() {
	document.getElementById("allinfo").style.display= 'block';
}
</script>
		<style type="text/css">
#info {
	position: static;
	width: 200px;
	height: 115px;
	z-index: 1;
}
</style>
	</head>
	<body>
		<html:form action="userInfo.do" method="post">
			<div class="page_title">
				生产部门
			</div>
			<div class="button_bar">
				<button class="common_button" onclick="help('');">
					帮助
				</button>
				<button class="common_button" onclick="to('add.html');">
					新建
				</button>
				<input type="submit" name="submit" value="查询" onclick="reload()">
				<a href="sale-dev">统计报表一</a>
			</div>

			<table class="query_form_table">
				<tr>
					<th>
						姓名
					</th>
					<td>
						<html:text property="userName" />
					</td>

					<th>
						职位
					</th>
					<td>
						
							<html:text property="post" />
						</td>

				</tr>
			</table>
			<br />
			<table class="data_list_table" width="770" height="133">
				<tr>
					<th>
						编号
					</th>
					<th>
						姓名
					</th>
					<th>
						职位
					</th>
					<th>
						部门
					</th>
				</tr>
				<c:if test="${userInfo!=null}" var="us">
					<c:forEach var="userInfo" items="${userInfo}">
						<tr>
							<td class="list_data_number">
								<br>
								${userInfo.userId}
							</td>
							<td class="list_data_text">

								<br>
								<a href="javascript:location='morelist.do?morelistid=${userInfo.userId}'">${userInfo.userName}</a>

							</td>
							<td class="list_data_ltext">
								<br>
								${userInfo.post}
							</td>
							<td class="list_data_text">
								<br>
							</td>
							<td class="list_data_op">
								<img onclick="to('dispatch.html');" title="指派"
									src="images/bt_linkman.gif" class="op_button" alt="指派"
									style="width: 25px; height: 25px;" />
								<strong><a href="#">指派</a> </strong>
								<img onclick="" title="删除" src="images/bt_del.gif"
									class="op_button" alt="删除" style="width: 25px; height: 25px;" />
								<strong><a href="#">删除</a> </strong>

							</td>
						</tr>
						<!--隐藏域 显示详细信息  -->
					</c:forEach>
				</c:if>
				<tr>

				</tr>
				<tr>
					<th colspan="7" class="pager">
						<div class="pager">
							共59条记录 每页
							<input value="10" size="2" />
							条 第
							<input value="1" size="2" />
							页/共5页
							<a href="#">第一页</a>
							<a href="#">上一页</a>
							<a href="#">下一页</a>
							<a href="#">最后一页</a> 转到
							<input value="1" size="2" />
							页
							<button width="20" onclick="reload();">
								GO
							</button>
						</div>
					</th>
				</tr>
			</table>
		</html:form>
	</body>

</html>